package com.tjing.frame.controller;

import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang3.StringUtils;
import org.joda.time.DateTime;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.google.common.collect.Lists;

import com.tjing.bussiness.object.AreaSeatData;
import com.tjing.bussiness.object.WeixinSale;
import com.tjing.bussiness.services.BaseDwr;
import com.tjing.frame.services.DataCache;
import com.tjing.frame.services.DbServices;
import com.tjing.frame.util.CodeHelper;

@Controller
@RequestMapping(value="/outside")
public class ApisController {
	@Autowired
	private DbServices dbServices;
	@Autowired
	private BaseDwr baseDwr;
	@Autowired
	DataCache dataCache;


	@RequestMapping(value="/clearExpiredLockedSeat")
	public ResponseEntity<JSONObject> clearExpiredLockedSeat(HttpServletRequest request,HttpServletResponse response) throws ClassNotFoundException{
		JSONObject err = new JSONObject();
		err.put("errcode", 0);
		err.put("errmsg", "请求成功");
		JSONObject resObject = new JSONObject();
		resObject.put("code", err);
		JSONObject param = new JSONObject();
		ResponseEntity<JSONObject> responseEntity = new ResponseEntity<JSONObject>(resObject,HttpStatus.OK);
		return responseEntity;
	}
	
}
